﻿<Window x:Class="frmReportCriteria"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Report Criteria" Height="645" Width="633" Background="Gray" WindowStyle="ToolWindow">
    <Grid>
        <TabControl Margin="0,12" Name="TabControl1">
            <TabItem Header="Reports" Name="TabItem1">
                <Grid>
                    <ListView Margin="6" Name="lvwReports" />
                </Grid>
            </TabItem>
            <TabItem Header="To">
                <Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
                    <Label Height="21" HorizontalAlignment="Left" Margin="53,11,0,0" Name="Label6" VerticalAlignment="Top" Width="53">Report</Label>
                    <TextBox BorderBrush="Black" Height="21" HorizontalAlignment="Right" Margin="0,10,124,0" Name="txtSurname" VerticalAlignment="Top" Width="361" />
                    <GroupBox Header="Date" Height="122" Margin="8,35,223,0" Name="grpDate" VerticalAlignment="Top">
                        <Grid>
                            <Label Height="20.8" HorizontalAlignment="Left" Margin="4,10,0,0" Name="Label5" VerticalAlignment="Top" Width="79">Date Selection</Label>
                            <ComboBox BorderBrush="Black" Height="21" Margin="105,11,3,0" Name="drpDateRange" VerticalAlignment="Top" />
                            <Label HorizontalAlignment="Left" Margin="4,38,0,42.8" Name="lblDateFrom" Width="44">From</Label>
                            <!--<TextBox BorderBrush="Black" Margin="105,39,100,43" Name="txtDateFrom" />-->
                            <my:DatePicker BorderBrush="Black" Margin="105,39,100,43" Name="txtDateFrom"  xmlns:my="http://schemas.microsoft.com/wpf/2008/toolkit" />
                            <Button HorizontalAlignment="Right" Margin="0,38,62,43.8" Name="btnFrom" Width="27" Visibility="Hidden">
                                <!--<Button.Background>
                                    <ImageBrush ImageSource="Images/calendar.ico" />
                                </Button.Background>-->
                            </Button>
                            <Label Height="22" HorizontalAlignment="Left" Margin="4,0,0,15" Name="lblDateTo" VerticalAlignment="Bottom" Width="44">To</Label>
                            <!--<TextBox BorderBrush="Black" Height="21" Margin="105,0,100,16" Name="txtDateTo" VerticalAlignment="Bottom" />-->
                            <my:DatePicker BorderBrush="Black" Height="21" Margin="105,0,100,16" Name="txtDateTo" VerticalAlignment="Bottom"  xmlns:my="http://schemas.microsoft.com/wpf/2008/toolkit" />

                            <Button Height="21" HorizontalAlignment="Right" Margin="0,0,62,16" Name="btnTo" VerticalAlignment="Bottom" Width="27" Visibility="Hidden">
                                <!--<Button.Background>
                                    <ImageBrush ImageSource="Images/calendar.ico" />
                                </Button.Background>-->
                            </Button>
                            <GroupBox Header="Products" HorizontalAlignment="Right" Margin="0,0,-221,-400.8" Name="grpProducts" Width="298" Height="388.8" VerticalAlignment="Bottom">
                                <Grid>
                                    <RadioButton Height="15.8" HorizontalAlignment="Left" Margin="10,10,0,0" Name="radProdAll" VerticalAlignment="Top" Width="59">All</RadioButton>
                                    <RadioButton Height="17.8" HorizontalAlignment="Left" Margin="10,34,0,0" Name="radProdDep" VerticalAlignment="Top" Width="96">By Department</RadioButton>
                                    <RadioButton Height="15.6" HorizontalAlignment="Left" Margin="10,64,0,0" Name="radProdRetire" VerticalAlignment="Top" Width="96">Retired Products</RadioButton>
                                    <RadioButton Height="15.8" HorizontalAlignment="Left" Margin="10,95.8,0,0" Name="radProdType" VerticalAlignment="Top" Width="108">By Product Type</RadioButton>
                                    <ComboBox BorderBrush="Black" Height="21" Margin="112,30.8,46,0" Name="drpDepart2" VerticalAlignment="Top" />
                                    <ListBox Margin="10,129,16,7" Name="lstProductTypes" BorderBrush="Black" />
                                </Grid>
                            </GroupBox>
                        </Grid>
                    </GroupBox>
                    <Button Height="22.8" HorizontalAlignment="Right" Margin="0,10,16,0" Name="btnRunReport" VerticalAlignment="Top" Width="87">Run Report</Button>
                    <Button Height="22.8" HorizontalAlignment="Right" Margin="0,41,16,0" Name="btnClose" VerticalAlignment="Top" Width="87">Close</Button>
                    <GroupBox Header="Consultant" Margin="8,163,0,234" Name="grpConsult" HorizontalAlignment="Left" Width="280">
                        <Grid>
                            <RadioButton Height="15.8" HorizontalAlignment="Left" Margin="10,15,0,0" Name="radConAll" VerticalAlignment="Top" Width="59">All</RadioButton>
                            <RadioButton Height="17.8" HorizontalAlignment="Left" Margin="10,39,0,0" Name="radConUser" VerticalAlignment="Top" Width="73">By User</RadioButton>
                            <RadioButton HorizontalAlignment="Left" Margin="10,0,0,51" Name="radConDep" Width="96" Height="15.6" VerticalAlignment="Bottom">By Department</RadioButton>
                            <RadioButton Height="15.8" HorizontalAlignment="Left" Margin="10,0,0,19" Name="rdoBranch" VerticalAlignment="Bottom" Width="82">By Branch</RadioButton>
                            <ComboBox BorderBrush="Black" Height="21" Margin="112,33,28,0" Name="drpConsult" VerticalAlignment="Top" />
                            <ComboBox BorderBrush="Black" Margin="112,65,28,50" Name="drpDepart" Height="21" />
                            <ComboBox BorderBrush="Black" Height="20.6" Margin="112,0,28,19" Name="drpBranch" VerticalAlignment="Bottom" />
                        </Grid>
                    </GroupBox>
                    <GroupBox Header="Client Types" Height="112" Margin="8,0,0,111" Name="grpClientType" VerticalAlignment="Bottom" HorizontalAlignment="Left" Width="280">
                        <Grid>
                            <RadioButton Height="15.8" HorizontalAlignment="Left" Margin="10,12,0,0" Name="radClientAll" VerticalAlignment="Top" Width="128">All Accounts</RadioButton>
                            <RadioButton HorizontalAlignment="Left" Margin="10,40,0,38" Name="radClientPrivate" Width="128">Private Only</RadioButton>
                            <RadioButton Height="15.8" HorizontalAlignment="Left" Margin="10,0,0,8" Name="radClientCorp" VerticalAlignment="Bottom" Width="128">Corporate Only</RadioButton>
                        </Grid>
                    </GroupBox>
                    <GroupBox Header="Consultant Role" Height="100" HorizontalAlignment="Left" Margin="8,0,0,5" Name="grpConRole" VerticalAlignment="Bottom" Width="135">
                        <Grid>
                            <RadioButton Height="15.8" Margin="10,10,31,0" Name="radRoleSold" VerticalAlignment="Top">Sold By</RadioButton>
                            <RadioButton Margin="10,34,17,32" Name="radRoleCW">Case Worker</RadioButton>
                        </Grid>
                    </GroupBox>
                    <GroupBox Header="Account Types" Margin="149,0,0,5" Name="grpAccType" Height="100" VerticalAlignment="Bottom" HorizontalAlignment="Left" Width="139">
                        <Grid>
                            <RadioButton Height="15.8" Margin="10,10,35,0" Name="radAccAll" VerticalAlignment="Top">All Accounts</RadioButton>
                            <RadioButton Margin="10,34,21,32" Name="radAccSLAOnly">SLA Only</RadioButton>
                            <RadioButton Height="15.8" Margin="10,0,21,7" Name="radAccExcludeSLA" VerticalAlignment="Bottom">Exclude SLA</RadioButton>
                        </Grid>
                    </GroupBox>
                </Grid>
            </TabItem>
        </TabControl>
    </Grid>
</Window>
